projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f029050
)
fix aliased function names trampoline removal
author
Andrea Corallo
<akrl@sdf.org>
Sun, 29 Dec 2019 18:16:53 +0000
(19:16 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:38:18 +0000
(11:38 +0100)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index f63e5842bc5e8572e4eeacb1829ca999d0d9b404..da1d3f160f097f0991896f98e355727b111e6753 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-1657,7
+1657,8
@@
Return t if something was changed."
(cond
((and subrp (not (subr-native-elisp-p f)))
;; Trampoline removal.
- (let* ((maxarg (cdr (subr-arity f)))
+ (let* ((callee (intern (subr-name f))) ; Fix aliased names.
+ (maxarg (cdr (subr-arity f)))
(call-type (if (if subrp
(not (numberp maxarg))
(comp-nargs-p callee-in-unit))